// Copyright 2018 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        // appBar: AppBar(
        //   title: Text('flutter demo'),
        // ),
        body: HomeContent(),
      ),
      theme: ThemeData(primarySwatch: Colors.yellow),
    );
  }
}

class HomeContent extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Center(
        child: Container(
      child: Image.network(
        "https://pic.netbian.com/uploads/allimg/220409/000014-1649433614abb5.jpg",
        alignment: Alignment.bottomRight,
        // color: Colors.blue,
        // colorBlendMode: BlendMode.screen,
        // fit: BoxFit.cover,
        repeat: ImageRepeat.repeatY,
      ),
      width: 300,
      height: 300,
      decoration: BoxDecoration(color: Colors.yellow),
    ));
  }
}
